package com.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * 生成申请单xml
 * Created by zcp on 2017/8/29.
 */
@XmlAccessorType(XmlAccessType.FIELD)
// XML文件中的根标识
@XmlType(propOrder = {
        "ele",
        "ProjectBudgetRequest"
})
public class ProjectBudgetRequestTwo {

    private String ele;

    private List<ProjectBudgetRequestOne> ProjectBudgetRequest;

    public ProjectBudgetRequestTwo() {
        super();
    }

    public String getEle() {
        return ele;
    }

    public void setEle(String ele) {
        this.ele = ele;
    }

    public ProjectBudgetRequestTwo(List<ProjectBudgetRequestOne> projectBudgetRequest) {
        ProjectBudgetRequest = projectBudgetRequest;
    }

    public List<ProjectBudgetRequestOne> getProjectBudgetRequest() {
        return ProjectBudgetRequest;
    }

    public void setProjectBudgetRequest(List<ProjectBudgetRequestOne> projectBudgetRequest) {
        ProjectBudgetRequest = projectBudgetRequest;
    }

    @Override
    public String toString() {
        return "ProjectBudgetRequestTwo{" +
                "ProjectBudgetRequest=" + ProjectBudgetRequest +
                '}';
    }

}
